<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Delete Detail</title>
    <link rel="stylesheet" type="text/css" href="<c:url value="/CSS/board/deleteBoard.css"/>"/>
  </head>
  <body>
    <div class="container">
    <form action="<c:url value="/board/deleteBoard-${board.boardId}"/>" method="post">
      <div class="title">Delete Board</div>
      <c:if test="${!empty message}">
        <div class="red">${message}</div>
      </c:if>
      <div class="group">
        <div class="label">Board Id:</div>
        <div class="field">${board.boardId}</div>  
      </div>
      <div class="group">
        <div class="label">Board Name:</div>
        <div class="field">${board.boardName}</div>   
      </div>
      <div class="group">
        <div class="label">Board Description:</div>
        <div></div>
        <div class="field">
          <textarea name="description" readonly="readonly">${board.description}</textarea>
        </div> 
      </div>
      <div class="buttons">
        <input type="button" value="Delete" onclick="javascript:this.form.submit();"/>&nbsp;
        <input type="button" value="Close" onclick="javascript:closeWindow();"/>
      </div>
    </form>
    </div>
    <script type="text/javascript" src="<c:url value="/JS/jquery-1.7.2.min.js"/>"></script>
    <script type="text/javascript" src="<c:url value="/JS/jcommon.js"/>"></script>
  </body>
</html>